﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mystery.SharePoint
{
    /// <summary>
    /// Implements a Site Provisioning Provider that allows everyone to provision site collections
    /// </summary>
    internal class EveryoneSiteProvisioningAuthenticationProvider : ISiteProvisioningAuthenticationProvider
    {
        public string Name
        {
            get { return Resources.SiteProvisioningProvider_Everyone_Name; }
        }

        public bool CanProvision(Microsoft.SharePoint.SPSite context, Microsoft.SharePoint.SPUser user)
        {
            return true;
        }
    }
}
